package com.xx.service.impl;

import com.xx.entity.BookCategory;
import com.xx.mapper.BookCategoryMapper;
import com.xx.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    BookCategoryMapper bookCategoryMapper;

    @Override
    public List<BookCategory> selectAll(String bookName, String author) {
        return bookCategoryMapper.selectAll();
    }
}
